]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-app-usage: Remove unused parameter
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 18 Feb 2013 21:54:52 +0000 (22:54 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Feb 2013 23:18:56 +0000 (00:18 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=694192

src/shell-app-usage.c
src/shell-app-usage.h

index bab217cd773601f042a59b9ef4338cba8a19f3bf..ab72300e2f07c5858a3512105a8059a1aecc9689 100644 (file)
@@ -480,8 +480,6 @@ sort_apps_by_usage (gconstpointer a,
  * shell_app_usage_get_most_used:
  * @usage: the usage instance to request
  * @context: Activity identifier
- * @max_count: how many applications are requested. Note that the actual
- *     list size may be less, or NULL if not enough applications are registered.
  *
  * Get a list of most popular applications for a given context.
  *
@@ -489,8 +487,7 @@ sort_apps_by_usage (gconstpointer a,
  */
 GSList *
 shell_app_usage_get_most_used (ShellAppUsage   *self,
-                               const char      *context,
-                               gint             max_count)
+                               const char      *context)
 {
   GSList *apps;
   GList *appids, *iter;
index aacd364b65b1e772a870bbaf6e87b4a5ca946aae..4016b58c5f8bd6f8d8ecea37877b51eed714642a 100644 (file)
@@ -28,8 +28,7 @@ GType shell_app_usage_get_type (void) G_GNUC_CONST;
 ShellAppUsage* shell_app_usage_get_default(void);
 
 GSList *shell_app_usage_get_most_used (ShellAppUsage *usage,
-                                       const char    *context,
-                                       gint           max_count);
+                                       const char    *context);
 int shell_app_usage_compare (ShellAppUsage *self,
                              const char    *context,
                              ShellApp      *app_a,